import React, { Component } from 'react'

export default class Home extends Component {
    render() {

        return (
            <div>
                <p>Home</p>
                <button onClick={() => {
                    this.props.history.go(-1)
                }}>返回上一页</button>
            </div>
        )
    };
    componentDidMount() {
        console.log('this-home', this);
        console.log(this.props.location.search);
    }
}
